class Person(object):
    name = "mengxingyun"

    @staticmethod
    def study():
        print("人类会学习")
        print(Person.name)

    @classmethod
    def sleep(cls):
        print(cls)
        print(cls.name)
        print("人类需要睡觉")


if __name__ == "__main__":
    Person.study()
    p1 = Person()
    p1.study()

    Person.sleep()
    p1.sleep()